<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>ConsoleKit</Name>
        <Homepage>https://github.com/Consolekit2</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <Summary>A framework for defining and tracking users, login sessions, and seats</Summary>
        <Description>ConsoleKit is a system daemon for tracking what users are logged into the system and how they interact with the computer (e.g. which keyboard and mouse they use).</Description>
        <Archive sha1sum="28869807eed0cc4a7a1d98030be1f2c7e5700d0e" type="tarbz2">https://github.com/ConsoleKit2/ConsoleKit2/releases/download/1.2.1/ConsoleKit2-1.2.1.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>acl-devel</Dependency>
            <Dependency>pam-devel</Dependency>
            <Dependency>dbus-devel</Dependency>
            <Dependency>eudev-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libnih-devel</Dependency>
            <Dependency>cgmanager-devel</Dependency>
            <Dependency versionFrom="0.113">polkit-devel</Dependency>
            <Dependency>libxslt</Dependency>
            <Dependency>xmlto</Dependency>
            <Dependency>util-linux</Dependency>
            <Dependency>libevdev</Dependency>
            <Dependency>libdrm-devel</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>ConsoleKit</Name>
        <RuntimeDependencies>
            <Dependency>acl</Dependency>
            <Dependency>pam</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libnih</Dependency>
            <Dependency>cgmanager</Dependency>
            <Dependency versionFrom="0.113">polkit</Dependency>
            <Dependency>eudev</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="config">/usr/lib/tmpfiles.d/ConsoleKit.conf</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/libexec</Path>
            <Path fileType="library">/lib</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/dbus-1</Path>
            <Path fileType="data">/usr/share/gir-1.0</Path>
            <Path fileType="data">/usr/share/gtk-doc</Path>
            <Path fileType="data">/usr/share/polkit-1/actions</Path>
            <Path fileType="data">/usr/share/polkit-1/rules.d</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/var</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/ConsoleKit.conf">ConsoleKit.conf</AdditionalFile>
            <AdditionalFile permission="0644" target="/usr/share/polkit-1/rules.d/75-consolekit.rules">25-consolekit.rules</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/etc/pam.d/consolekit">consolekit.pamd</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/usr/lib/ConsoleKit/run-session.d/pam-foreground-compat.ck">pam-foreground-compat.ck</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>ConsoleKit-devel</Name>
        <Summary>Development files for ConsoleKit</Summary>
        <RuntimeDependencies>
            <Dependency release="current">ConsoleKit</Dependency>
            <Dependency>dbus-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-12-13</Date>
            <Version>1.2.1</Version>
            <Comment>Version bump</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-07-23</Date>
            <Version>1.2.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-02</Date>
            <Version>1.0.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-08</Date>
            <Version>1.0.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-30</Date>
            <Version>1.0.2</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
